home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / util / misc / aterminfo.lha / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  2.2 KB  |  82 lines

  1.  
  2. /* comp_error.c */
  3. void warning ( const char *fmt , ...);
  4. void err_abort ( const char *fmt , ...);
  5. void syserr_abort ( const char *fmt , ...);
  6.  
  7. /* comp_hash.c */
  8. void make_hash_table ( void );
  9. static int hash_function ( char *string );
  10. struct name_table_entry *find_entry ( char *string );
  11.  
  12. /* comp_main.c */
  13. int main ( int argc , char *argv []);
  14. void init ( char *progname );
  15.  
  16. /* comp_parse.c */
  17. void compile ( void );
  18. void dump_list ( char *str );
  19. int do_entry ( USE_ITEM *item_ptr );
  20. void enqueue ( long offset );
  21. void dequeue ( USE_ITEM *ptr );
  22. void dump_structure ( short term_names , char *Booleans , short *Numbers , short *Strings );
  23. int write_object ( FILE *fp , short term_names , char *Booleans , short *Numbers , short *Strings );
  24. void check_name ( char *name );
  25. int save_str ( char *string );
  26. void init_structure ( char *Booleans , short *Numbers , short *Strings );
  27. int handle_use ( USE_ITEM *item_ptr , long entry_offset , char *Booleans , short *Numbers , short *Strings );
  28.  
  29. /* comp_scan.c */
  30. int get_token ( void );
  31. char next_char ( void );
  32. void backspace ( void );
  33. void reset_input ( void );
  34. char trans_string ( char *ptr );
  35. void panic_mode ( char ch );
  36.  
  37. /* dump.c */
  38. void main ( int argc , char *argv []);
  39. void expand ( unsigned char *str );
  40. void usage ( void );
  41.  
  42. /* lib_setup.c */
  43. void use_env ( char f );
  44. static int resize ( int fd );
  45. int setupterm ( char *termname , int filedes , int *errret );
  46. static void do_prototype ( void );
  47.  
  48. /* lib_tparm.c */
  49. __inline void npush ( int x );
  50. __inline int npop ( void );
  51. __inline char *spop ( void );
  52. char *tparm ( char *string , ...);
  53. char *tgoto ( char *string , int x , int y );
  54.  
  55. /* lib_tputs.c */
  56. int tputs ( char *string , int affcnt , int (*outc )(int ));
  57. int putp ( char *string );
  58.  
  59. /* lib_trace.c */
  60. void _init_trace ( void );
  61. void traceon ( void );
  62. void traceoff ( void );
  63. void _tracef ( char *fmt , ...);
  64.  
  65. /* lib_unctrl.c */
  66.  
  67. /* lib_vidattr.c */
  68. static void do_color ( int pair , int (*outc )(int ));
  69. int vidputs ( chtype newmode , int (*outc )(int ));
  70. int vidattr ( chtype newmode );
  71.  
  72. /* read_entry.c */
  73. int read_entry ( char *filename , struct term *ptr );
  74. int must_swap ( void );
  75.  
  76. /* names.c */
  77.  
  78. /* comp_captab.c */
  79.  
  80. /* resize.c */
  81. int _main ( void );
  82.